package _2ChapterTwo._2MoveField.oldObject;

public class Account {
    private AccountType accountType;
    private double _interestRate;

    public double interestForAmount_days(double amount, int days) {
        return _interestRate * amount * days / 365;
    }

    public double get_interestRate() {
        return _interestRate;
    }

    public void set_interestRate(double _interestRate) {
        this._interestRate = _interestRate;
    }
}
